package com.backend.mapper.rbac;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pojo.entity.Auth;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AuthMapper extends BaseMapper<Auth> {
    Integer removeAuth(@Param("name") String name);

    List<Auth> getAllAuth();

    Auth getAuthByName(@Param("name") String name);
}
